export default {
  mChangeCity(state, city) {//此处命名随意
    state.city = city;//mutation直接修改state中的数据
    try {//有可能用户禁用或者隐身模式，浏览器会抛出异常
      localStorage.city = city
    } catch (e) { }
  }
}
